function checkboxed(name)
{
    var checkboxlist=document.getElementsByName(name);
    if(null!=checkboxlist)
    {
        for (let index = 0; index < checkboxlist.length; index++) {
            checkboxlist[index].checked=true;
            
        }
    }
}